import React from 'react'
import ReactDOM from "react-dom/client";
import {RouterProvider} from 'react-router-dom';
import router from './router/router';
import "./style.css";

import ToastContextProvider from './components/Toast/ToastContext';

const root = ReactDOM.createRoot(document.querySelector("#root"));

var keyStr = 'fb 81 3f 06 09 ac ba 6a 22 79 c8 b5 d6 3a ea 68 07 72 5a 7f 0a c5 d3 52 97 81 e5 2e 06 84 97 1b';
var ivStr = '5e d5 af c7 91 7f 73 f5 2e 5a 6c 9f ac 8d 8a 17'; // 20250528 e731a8e7

/**
 *
 * StrictMode
 * 严格模式故意运行一些生命周期方法（包括渲染）额外的时间。这样做是为了暴露由于不安全地使用生命周期方法而导致的错误。
 *
 * */
root.render(<>
  <ToastContextProvider>
    <RouterProvider router={router}></RouterProvider>
  </ToastContextProvider>
</>);
